home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 6 / CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso / cucd / online / fidonetts / fsc-0043.002 < prev    next >
Text File  |  1990-08-30  |  5KB  |  117 lines

  1. Document: FSC-0043
  2. Version:  002
  3. Date:     30-Aug-90
  4.  
  5.  
  6.  
  7.  
  8.      Some Hints on Recognizing Control Lines in FidoNet(r) Message Text
  9.                                  FSC-0043
  10.                               1990 August 30
  11.  
  12.  
  13.  
  14.  
  15. Status of this document:
  16.  
  17. This FSC contains information of value to the general FidoNet(r) community.
  18. Distribution of this document is subject to the restrictions listed in the
  19. copyright paragraph below.
  20.  
  21. Fido and FidoNet are registered marks of Tom Jennings and Fido Software.
  22.  
  23. Copyright 1989-90, Randy Bush.  All rights reserved.  A right to distribute
  24. only without modification and only at no charge is granted.  Under no
  25. circumstances is this document to be reproduced or distributed as part of or
  26. packaged with any product or other sales transaction for which any fee is
  27. charged.  Any and all other reproduction or excerpting requires the explicit
  28. written consent of the author.
  29.  
  30.  
  31. Implementors have had problems interpreting message text, both in netmail and
  32. echomail.  While the clues are usually to be found in some doucment or another,
  33. there seems to be a need to collect hints for some confusing aspects.  This
  34. informal documents attempts to address that need.
  35.  
  36.  
  37. Filter out all <lf>s and 'soft' <cr>s and <lf>s.  They are surplus and will
  38. only confuse the rest of your code.
  39.  
  40. All control lines have their sentinels at the beginning of a line.  [ Note
  41. that an * Origin: line has a leading significant blank. ]
  42.  
  43. Do not process quoted control lines or control sentinels preceeded by blanks,
  44. tabs, ...
  45.  
  46. If you become confused, then bounce or sidetrack the message to a hold area
  47. for human intervention.  Don't try to rescue the situation.  None will notice
  48. when you succeed, and many will flame whan you fail.
  49.  
  50. A message is either netmail or echomail.  I.e. no ^aINTL, ^aFMPT, or ^aTOPT
  51. controls should be found or generated when there is an AREA: line or when in an
  52. echo area. Thus, echomail can not be routed across zones, but this is not a big
  53. loss.
  54.  
  55. Private netmail replies to echomail are netmail, i.e. may have ^aINTL etc.,
  56. and may not have AREA: line, SEEN-BY:, or ^aPATH: lines.  They may have a tear
  57. line and an origin line.
  58.  
  59. ^aEID lines are as in Opus 1.03.  Other forms are not to be generated, and,
  60. if found, may be safely disgarded.
  61.  
  62. An AREA: line must be the first non ^a line in the text.
  63.  
  64. The echomail control info is a four-part package at the end of the text.  It
  65. should not be, but occasionally is, followed by one or more ^a control lines.
  66. The four parts of an echomail trailer are:
  67.  
  68.   o a tear line, "---" and some very short text identifying the original echo
  69.     processor.  Eg.
  70.         --- Brag 3.14
  71.  
  72.   * note that some internetworking gateware may place a # Origin: line between
  73.     the tear line and the * Origin: line to indicate the true other network
  74.     address, whatver that may be.  The content of a # Origin: line is free to
  75.     be specified by the other network(s).  An example might be as follows:
  76.          # Origin: Political Statement (FishNet:914@201)
  77.  
  78.   o one * Origin: line, being " * Origin: " ends in "(" [Z:] N "/" N [.P] ")"
  79.     of FidoNet node of origin or the gate from FidoNet to another network
  80.          * Origin: <signature> (1:105/301)
  81.  
  82.   o as many SEEN-BY: lines as necessary, each being "SEEN-BY:" followed by one
  83.     or more
  84.         " " <net> "/" <node>
  85.     sequences.  Note that SEEN-BY: lines do not end in <space>.
  86.  
  87.     The net/node numbers in SEEN-BY: lines are sorted net major.  Within a
  88.     single SEEN-BY: line, net numbers are sticky, so the N/N is usually
  89.     abbreviated to N, Eg. 
  90.         SEEN-BY: 105/6 10 15 16 27 41 42 300 301 141/42 491
  91.  
  92.   o as many ^aPATH: lines as necessary, each being <ctrl-A> "PATH:" followed
  93.     by one or more
  94.         " " <net> "/" <node>
  95.     sequences.  The N/N in ^aPATH: lines are specifically not sorted.  Net
  96.     numbers are also sticky in ^aPATH: lines, eg.
  97.         PATH: 105/301 6 42
  98.  
  99. Remember that traffic costs much money, and do not create text unnecessary to
  100. FidoNet as a whole.
  101.  
  102. I did not invent this, so don't blame me.  I'm just trying to write it down.
  103.  
  104. And, lastly, try not to be inventive.  While the free-form syntax of this
  105. embedded stuff does provide fleibility and power, it also leaves a lot of room
  106. to make disgusting messes.  Compromise, cooperation, and a minimizalist touch
  107. are essential.
  108.  
  109. Randy Bush
  110. FidoNet: 1:105/6 1:105/42
  111. Internet: randy@psg.com    randy@m2xenix.uucp
  112. uucp: { uunet, qiclab, bucket }!m2xenix!randy
  113.  
  114. ---
  115.  
  116. Fido and FidoNet are registered marks of Tom Jennings and Fido Software.
  117.